<div class="content">
<div class="c_main">
<div class="fbox">
<div class="box">
<div class="b_title"><span class="darrow"></span>邀请</div>

<div class="b_wrap">
<div class="gap25"></div>
<div class="invatetitle"><span class="invate_icon invate-title"></span><span class="invatetitle-str">邀请朋友加入i.178.com</span></div>
<div class="nav3">

<div class="blog_tools">
	<span class="invate_icon show"></span>查看邀请历史
	<span class="invate_icon back"></span><a href="<?= Controller::_makeURL('friends', 'invitation', 'invite_form')?>">返回邀请首页</a>
</div>
	
<div class="clearfix">&nbsp;</div>
</div><!--nav3-->
<div class="nav3line"></div>
	<div class="invate-main">
		<div class="invate-main-info">
			<h2 class="invatetitle"><span class="invate_icon history"></span><span class="invatetitle-str">您的邀请历史</span></h2>
			<div class="invate-text">&lt;您发出的邀请，对方没有在注册（历史邀请数据不包括通过<img src="images/qq-msn.gif" align="absmiddle" /> 发送邀请连接的方式）&gt;</div>
			<div class="history_list">
				<div class="msn_border">
				<?if (count($this->ret['data'])):?>
					<?php foreach ($this->ret['data'] AS $key => $val):?>
						<ul>
							<li class="email"><?=$val['msn_email']?></li>
							<li class="name"><?=htmlspecialchars(mb_strimwidth($val['msn_nickname'] , 0 , 80, '...', 'utf-8'))?></li>
							<li class="again"><a href="javascript:void(0);" onclick="Friends.invite_again_from('<?= avatar_util_saver::get_path($val['uid'], 120)?>', '<?=$val['id']?>', '<?=$val['msn_email']?>');">再次邀请</a></li>
							<li class="other"><a href="javascript:void(0);" onclick="Friends.invite_again_other_from('<?=$val['id']?>');">其他方式再邀请</a></li>
							<li class="del"><a href="javascript:void(0);" onclick="Friends.delete_msn_invite('<?=$val['id']?>', '<?=$val['msn_email']?>');"></a></li>
						</ul>
					<?php endforeach;?>
				<?else:?>
					还没有邀请历史
				<?endif;?>
				
				</div>
			</div>

		</div>
	</div>
</div><!--b_wrap end-->
</div><!--box end-->
</div><!--fbox-->
</div><!--cmain end-->
</div><!--content end-->
<script type="text/javascript">
function change_div(id) {
	if (id == 'armory_invite') {
		$('armory_invite').show();
		$('general_invite').hide();
	} else if (id == 'general_invite') {
		$('armory_invite').hide();
		$('general_invite').show();
	}
}
</script>